package com.wosai.register.repository;

import java.util.List;

import com.wosai.register.model.Product;

public interface ProductRepository {
    
    Product findById(String merchantId, String id);
    List<Product> findByTerminal(String merchantId);

    List<String> insertBatch(List<Product> products);
    List<String> updateBatch(List<Product> products);
    
    void delete(String merchantId, String id);
    void deleteByTerminal(String merchantId);
    
    void markDelete(String merchantId, String id);
}
